<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>测试const</title>
    <script src="../zujian/han/han.js"></script>
</head>
<body>
<script type="text/javascript">
    //下面是常量的初始化的一种方式

    const {
        success, complete
    } ={
        success:"我是success",complete:function (e) {
            alert("complete是个函数,"+e);
        }
    };
    hwrite(success,"1","2");// 我是success

    complete("你是个傻逼！");// complete是个函数,你是个傻逼！

</script>
</body>
</html>